find your way out using only mouse cursor functions
click here